import axios from 'axios'

const request=axios.create({
  baseURL:'http://localhost:4000',
  timeout:3000
})
request.interceptors.response.use((res:any)=>{
  return res.data
})
export default request